/**
 * createor: zc
 * email: zc8023zs@163.com
 * create_time: 2020/4/6 0:00:57
 */
import request from '@/utils/request'

export function keywordsAdd(data) {
  return request({
    url: '/simpleshopsetting/keywords/add',
    method: 'post',
    data
  })
}

export function keywordsUpdate(data) {
  return request({
    url: '/simpleshopsetting/keywords/update',
    method: 'post',
    data
  })
}

export function keywordsDel(data) {
  return request({
    url: '/simpleshopsetting/keywords/del',
    method: 'post',
    data
  })
}

export function keywordsSelect(data) {
  return request({
    url: '/simpleshopsetting/keywords/select',
    method: 'post',
    data
  })
}

export function keywordsSelectpage(data) {
  return request({
    url: '/simpleshopsetting/keywords/selectpage',
    method: 'post',
    data
  })
}

export function keywordsSelecttree(data) {
  return request({
    url: '/simpleshopsetting/keywords/selecttree',
    method: 'get',
    params:data
  })
}

export function keywordsInfo(data) {
  return request({
    url: '/simpleshopsetting/keywords/info',
    method: 'get',
    params:data
  })
}